package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGrowthAppraisal;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.Page;

/**
* 评价赠送成长值表
* @author : 
* @email : 
* @since : 2020-04-12 02:10:26
* @version : v1.0.0
*/
public interface MememberGrowthAppraisalService {

    long insert(MememberGrowthAppraisal mememberGrowthAppraisal);

    long delete(Long id);

    long update(MememberGrowthAppraisal mememberGrowthAppraisal);

    MememberGrowthAppraisal queryByPrimaryKey(Long id);

    List<MememberGrowthAppraisal> query(MememberGrowthAppraisal mememberGrowthAppraisal);

    PageResult<MememberGrowthAppraisal> queryPage(MememberGrowthAppraisal mememberGrowthAppraisal, Page pageQuery);
    //通过主规则id删除对应信息
    long deleteByRuleId(Long id);

    //通过主规则id查询成长值
    MememberGrowthAppraisal getGiveGrowthValById(Long id);

    List<MememberGrowthAppraisal> queryAppraisalByGrowthRuleId(Long id);
}